package com.yztstudy.Entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 购物车
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart {

    //成员变量
    private Integer id; //主键
    private Food food; //菜品ID
    private Integer num; //总数
    private Double total; //总价
    private Desk desk; //餐桌ID
}
